package com.cbs.android.component.share.umeng.constant;

import java.util.Hashtable;

/**
 * Created by broche on 10/22/16.
 */

public final class Failures {
    private static Hashtable<Integer, String> failures = new Hashtable<>();

    static {
        failures.put(1, "暂不支持该类型");
    }

    public static String getMessage(int code) {
        if (failures.containsKey(code)) {
            return failures.get(code);
        } else {
            return "未知错误, 请与客服联系";
        }
    }
}
